package com.wyj.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * @description: TODO 持久层框架主要配置信息
 * @author wuyijie
 * @date 2021/10/30 10:32 上午
 */
public class Configuration {
    /**
     * 数据源
     * */
    private DataSource dataSource;

    /**
     * sql集合
     * */
    private Map<String,MapperedStatement> mapperedStatementMap=new HashMap<>();


    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MapperedStatement> getMapperedStatementMap() {
        return mapperedStatementMap;
    }

    public void setMapperedStatementMap(Map<String, MapperedStatement> mapperedStatementMap) {
        this.mapperedStatementMap = mapperedStatementMap;
    }
}
